<template>
  <div>
    <span>{{ id }}</span>
  </div>
</template>

<script setup lang="ts">
definePageMeta({
  middleware: 'auth'
})

const route = useRoute()
const id = route.params.id
console.log(id)
</script>

<style scoped></style>